package com.muqi.app.qlearn.modles;

import java.io.Serializable;

import org.json.JSONObject;

import com.google.gson.Gson;

public class CreditBean implements Serializable {
	/**  */
	private static final long serialVersionUID = 1L;
	
	public String id;
	public String createtime;
	public String subject_type;
	public String subject_or_order_name;
	public String teacher_method;
	public int total_comment;
	public String content;
	public String comment_info_1;
	public String comment_info_2;
	public String comment_info_3;
	public String username;
	public String userid;
	public String headpic;
	
	public static CreditBean fromJson(JSONObject json) {
		if(json != null){
            return new Gson().fromJson(json.toString(), CreditBean.class);
        }
		return null;
	}
}
